home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1999 June
/
Macworld (1999-06).dmg
/
Shareware World
/
Info
/
For Developers
/
MacZoop2.0.sea
/
MacZoop2.0
/
Required Classes
/
ZObject.cpp
< prev
next >
Wrap
Text File
|
1999-02-11
|
958b
|
50 lines
/*************************************************************************************************
*
*
* MacZoop - "the framework for the rest of us"
*
*
*
* ZObject.cpp -- the root object (abstract class)
*
*
*
*
*
* © 1998, Graham Cox
*
*
*
*
*************************************************************************************************/
#include "ZObject.h"
#include "ZObjectArray.cpp"
#include "MacZoop.h"
CLASSCONSTRUCTOR( ZObjectList );
#if _MACZOOP_STREAMS
ZClassRegistry* gClasses = new ZClassRegistry();
/*----------------------------*** GETCLASSNAME ***------------------------------*/
/*
return the human readable name of the class of this object
----------------------------------------------------------------------------------*/
void ZObject::GetClassName( Str255 aName )
{
gClasses->GetNameOfClass( classID, aName );
}
#else
ZClassRegistry* gClasses = NULL;
void ZObject::GetClassName( Str255 aName ) {}
#endif